package com.hongdee.crm.carConfig.service;

import java.util.List;
import java.util.Map;

/**
 * Created by My on 2017/4/24.
 */
public interface ITCrmCarRefDetailService {


    public Map impPage(String uid, String start, String limit) throws Exception;

    public void impConfirm(String id, String uid) throws Exception;

    public void impDels(List<Map<Object, String>> data, String uid) throws Exception;

    public void impDelAll(String uid) throws Exception;

    public void multiImpConfirm(List<Map> data, String uid) throws Exception;

    public void impConfirmAll(String uid) throws Exception;


    /**
     * 车辆分配规则 车辆快速检索
     *
     * @param companyId
     * @param start
     * @param limit
     * @param saId
     * @param distType
     * @param allallotType
     * @param allotTypeV
     * @return
     * @throws Exception
     */
    public Map query(String companyId, String start, String limit, String saId, String distType,
                     String allallotType, String allotTypeV) throws Exception;

    public void distCarByPlateNum(String companyId, String type, String value, String uid) throws Exception;

    public void distCarsByPlateNum(String companyId, String uid, List<Map> data) throws Exception;


}
